<?php 
  $time_start=date('YmdHis',NOW-rand(40,65));
  $time_end=date('YmdHis',NOW);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
    <head>
        <title><?php echo $_site->site_config['site']['title']?></title>    
        <meta name="keywords" content="<?php echo $_site->site_config['site']['keywords']?>" />
        <meta name="description" content="<?php echo $_site->site_config['site']['description']?>" /> 
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
        <meta name="robots" content="all"/>
        <meta property="qc:admins" content="602137506556433736375" />
        <meta property="wb:webmaster" content="81f9c1c879ea304d" /> 
    </head>    
    <body>
        <div align="center">
            			
			<form action="/api.php?h=gas/record"  method="post" enctype="multipart/form-data">
			<input type="hidden" name="type" value="1">
			<table>
			   <tr>
			     <td>设备编号 ：<input type="text" name="no" value="864150033863760"></td>
			   </tr>
			   <tr>
			     <td>油料管理员编号 ：<input type="text" name="gaser" value="AB542"></td>
			   </tr>			   
			   <tr>   
			     <td>油罐编号:<input type="text" name="gascan" value="002"></td>
			     </tr>
			     <tr>
				<td>加油车编号:<input type="text" name="carno" value="AC456"></td>
				</tr>
				<tr>
			           <td>加油前图片 ：<input type="file" name="img1" value=""></td>
			           </tr>
				<tr>
			           <td>加油前时间 ：<input type="text" name="time_start" value="<?php  echo $time_start;?>"></td>
			           </tr>			           
			           <tr>
			           <td>油表数值:<input type="text" name="num_start" value="85855.6"></td>
			           </tr>
				<tr>
				<td>加油前坐标:<input type="text" name="coord_start" value="106.789169312,29.674156189"></td>
				</tr>			           
			           <tr>
			           <td>加油后图片 ：<input type="file" name="img2" value=""></td>
			           </tr>
				<tr>
			           <td>加油后时间 ：<input type="text" name="time_end" value="<?php  echo $time_end;?>"></td>
			           </tr>			           			           
			           <tr>
			           <td>油表数值:<input type="text" name="num_end" value="86355.6"></td>
			           </tr>
				<tr>
				<td>加油后坐标:<input type="text" name="coord_end" value="106.789169312,29.674156189"></td>
				</tr>			           
			           <tr>				
				<td>时间:<input type="text" name="ctime" value="<?php echo time();?>"></td>
				</tr>
				<tr>
				<td><input type="submit" value="提交"></td>
				</tr>
			</table>	
			</form>
			
        </div>
        
        
   
        
        
    </body>
</html>
